package demo3;

public class Card {
    String str;//花色
    int num;//代表数
    public Card (String str,int num){
        this.str=str;
        this.num = num;
    }

    @Override
    public String toString() {
        return "{"+str+" "+num+"}";
    }
}
